home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Mac Magazin/MacEasy 19
/
Mac Magazin and MacEasy Magazine CD - Issue 19.iso
/
Wissenschaft & Technik
/
FFTs for RISC 1.1
/
fftlib.h
< prev
next >
Wrap
Text File
|
1995-12-19
|
2KB
|
50 lines
long FFTInit(long *fftMptr, long fftN, float *Utbl);
/* Compute cosine table and check size for complex ffts */
/* INPUTS */
/* fftN = size of fft */
/* OUTPUTS */
/* *fftMptr = log2 of fft size */
/* *Utbl = cosine table with fftN/4 + 1 entries (angles = 0 to pi/2 inclusive) */
/* RETURNS */
/* 1 if fftN is invalid, 0 otherwise */
long rFFTInit(long *fftMptr, long fftN, float *Utbl);
/* Compute cosine table and check size for a real input fft */
/* INPUTS */
/* fftN = size of fft */
/* OUTPUTS */
/* *fftMptr = log2 of fft size */
/* *Utbl = cosine table with fftN/4 + 1 entries (angles = 0 to pi/2 inclusive) */
/* RETURNS */
/* 1 if fftN is invalid, 0 otherwise */
void ffts(float *ioptr, long M, long Rows, float *Utbl);
/* Compute complex fft on the rows of the input array */
/* INPUTS */
/* M = log2 of fft size */
/* *ioptr = input data array */
/* *Utbl = cosine table */
/* Rows = number of rows in ioptr array (use Rows of 1 if ioptr is a 1 dimensional array) */
/* OUTPUTS */
/* *ioptr = output data array */
void iffts(float *ioptr, long M, long Rows, float *Utbl);
/* Compute inverse complex fft on the rows of the input array */
/* INPUTS */
/* M = log2 of fft size */
/* *ioptr = input data array */
/* *Utbl = cosine table */
/* Rows = number of rows in ioptr array (use Rows of 1 if ioptr is a 1 dimensional array) */
/* OUTPUTS */
/* *ioptr = output data array */
void rffts(float *ioptr, long M, long Rows, float *Utbl);
/* Compute real fft on the rows of the input array */
/* INPUTS */
/* M = log2 of fft size */
/* *ioptr = input data array */
/* *Utbl = cosine table */
/* Rows = number of rows in ioptr array (use Rows of 1 if ioptr is a 1 dimensional array) */
/* OUTPUTS */
/* *ioptr = output data array */